package com.tarena.charging.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.charging.user.pojo.po.UserVehiclePO;
import org.apache.ibatis.annotations.Select;

public interface UserVehicleMapper extends BaseMapper<UserVehiclePO> {
    @Select("select id from charging_user_vehicle_bind where user_id=#{userId} and state=1")
    Integer selectIdByUserId(Integer userId);
}
